<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/3/21
  Time: 16:17
  To change this template use File | Settings | File Templates.
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

    <table cellpadding="0" cellspacing="0" border="1">
        <tr>
            <td> 序号  </td>
            <td> 文件名（硬盘中的）  </td>
            <td> 大小  </td>
            <td> 下载  </td>
        </tr>
        <c:forEach items="${files}" var="file" varStatus="status">
            <tr>
                <td> ${status.count}  </td>
                <td> ${file.name}  </td>
                <td> ${file.totalSpace}</td>
                <td> <a href="${pageContext.request.contextPath}/download1?filename=${file.name}" >下载</a>   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 <a href="${pageContext.request.contextPath}/download2?filename=${file.name}" >下载2 </a>     </td>
            </tr>
        </c:forEach>
    </table>




</body>
</html>
